package lab02.Test36;

<<<<<<< HEAD
public abstract class Student {

    String name;
    String type;
    double[] scores = new double[3];
    String grade;


    double calAverage(){
        return (scores[0]+scores[1]+scores[2])/3;

    }

    abstract String calGrade();
=======

public abstract class Student {
    String name;
    String type;
    double[] scores=new double[3];
    String garde;

    //计算平均成绩
    double average(){
        return (scores[0]+scores[1]+scores[2])/3;
    }

    //计算等级
    abstract String calGrade();

>>>>>>> 50ca08f6b9b89216641cb11ef9adb6e22dd31576
}
